import 'package:freezed_annotation/freezed_annotation.dart';

part 'expose_request.g.dart';
part 'expose_request.freezed.dart';

@freezed
class ExposeRequest with _$ExposeRequest {
  const factory ExposeRequest({
    required String token,
    required String title,
    required String content,
  }) = _ExposeRequest;

  factory ExposeRequest.fromJson(Map<String, dynamic> json) =>
      _$ExposeRequestFromJson(json);
}
